Search Results
Creating WPF UIs for PowerShell with PowerBoots and Visual Studio WPF Designer
I’ve had several people ask me how PowerBoots compares to PrimalForms, or ask for a visual designer for PowerBoots. I usually answer something along the lines of the fact that Microsoft has already created a very good WPF/XAML designer in Visual Studio (including the free Express editions), particularly in 2010, so I don’t see why [...]
Format-PoshTable – A Video
Format-PoshTable (PowerBoots + DataGrid from WPFToolkit + PoshConsole) on ScreenCast or Vimeo (and PoshCode). If you can’t view that (it requires Windows Media Player), you can check it out through Vimeo below. I apologize for the size and quality of that, I didn’t read the HD instructions ahead of time. Skip to the end for [...]
Another Module Manifest Gotcha
Shay Levy, ScriptFanatic, wrote about the PowerShellHostVersion on his blog this morning, explaining how it is not a field you should use in your module manifests. Of course, there’s an exception: if your module is dependent on a specific host. For instance, if you’ve written a module for PoshConsole which exploits the WpfHost display features [...]
A question about PowerShell Module Manifests
So, I’m building the next PoshCode around modules, with CPAN as my model … Scripts are still there, but they’re still basically done the way they are now: you just upload a single file. Modules, however, will be treated specially. You’ll have to have an account to upload, but you’ll be able to just upload [...]
Mono Tools for Visual Studio allow cross-platform remote debugging
Image via Wikipedia Ok, the Mono team has announced the release of their Mono Tools for Visual Studio which really picks up on your ability (as a Windows-based .Net developer) to target Linux and Mac for application deployment. So, yeah: no thanks to Microsoft (well, not directly, anyway), Visual Studio is sort-of a cross-platform development [...]
Microsoft buys Teamprise: so what?
I got really worked up earlier this week when @MicrosoftSubnet tweeted that Microsoft Acquires Teamprise Assets, Provides Cross-Platform Support for Visual Studio … and linked to that article. I clicked the link, read the headline … picked myself up off the floor, posted the link in half the IRC channels I hang out in, and [...]
WPF in PowerShell: PowerBoots 0.2
I’ve finally given over trying to improve PowerBoots for this iteration of development, and in between setting up the ScriptingGames.PoshCode site and releasing the PoshCode software on the main PoshCode.org site (it’s coming, I promise), I decided to take a few minutes and release this lates PowerBoots, and it’s a ground-breaking release, if I do [...]
A WPF Countdown Timer in PowerShell 2.0
Well, it’s been awhile since I posted anything, and this causes me angst. I’ve been spending all of my time lately on PoshCode.org — not writing content, but working on a new Asp.Net MVC-based back-end (on codeplex) — but in the meantime, this month PoshCode.org finally passed this site’s raw pageview count, and it made [...]
PowerBoots: The tutorial walkthrough
Updated to PowerBoots 0.1 An introduction to PowerBoots Please excuse me if I start by just copying the basic ideas of the Shoes Tutorial, but I figured that since PowerBoots is inspired by Shoes, that was as good a place as any to start. PowerBoots (or just “Boots”) is a PowerShell 2.0 module with functions [...]
PowerShell April Fools Pranks
Harmless 1..100|%{"`a"} Awesome, and mostly harmless (2.0 only) $SWA = Add-Type -M ‘ [DllImport("user32",EntryPoint="ShowWindowAsync")] public static extern bool S(IntPtr h, int i);’ -name SWA -pass ps | ?{ $pid -eq $_.Id } | % { $SWA::S($_.MainWindowHandle,0) } while ($true) { $handles = ps | %{ if([int]$_.MainWindowHandle){$_.MainWindowHandle} } $handles | %{ $SWA::S($_,0) } # [...]